package com.suqiu.common.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.thymeleaf.TemplateEngine;


/**
 * thymeleaf配置
 */
@Configuration
public class ThymeleafAutoConfiguration {

    private final static TemplateEngine templateEngine = new TemplateEngine();

    @Bean
    TemplateEngine htmlTemplateEngine() {
        return templateEngine;
    }
}
